import './../../css/common.css';
import React, { Component } from 'react';

class Header extends Component {
    constructor(props) {
        super(props);
        this.state = {

        }
    }
    settingEvent() {
        console.log('设置');
    }
    render () {
        return (
            <div className="flex" style={{ height: 30,background: '#fff',marginBottom: 20,padding: 10 }}>
                <div className="flex-start" style={{ width: '50%',}}>客户中心</div>
                <div className="flex-end" style={{ width: '50%'}} onClick={ this.settingEvent.bind(this) }>设置</div>
            </div>
        )
    }
}
export default Header;